<!DOCTYPE html>
<html>
<head>
	<title></title>
	<script src="https://unpkg.com/vue/dist/vue.js"></script> 
</head>

<body>
	<div id="if">
	<div v-if="ok"><p>千涂不出照本宣科就不能就溃不成军不到</p></div>
	<button @click="ok = false">按钮</button>
	</div>
</body>

<script>
	var vm=new Vue({
	el:"#if",
	data:{
		ok:true
	}
});
</script>

</html>
